
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="renderer" content="webkit">
  <title></title>
  <link rel="stylesheet" href="<%=request.getContextPath()%>/css/pintuer.css">
  <link rel="stylesheet" href="<%=request.getContextPath()%>/css/admin.css">
  <script src="<%=request.getContextPath()%>/js/jquery.js"></script>
  <script src="<%=request.getContextPath()%>/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加学生</strong></div>
  <div class="body-content">
    <!--注意action值的正确设置-->
    <form method="post" class="form-x" action="StudentServlet?action=edit&stuId=${student1.stuID}">
      <div class="form-group">
        <div class="label">
          <label>学生学号:</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="${student1.stuID}" name="stuID" id="stuID" data-validate="required:请输入学生学号" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>班号:</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="${student1.classID}" name="classID" data-validate="required:请输入班号" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>姓名:</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="${student1.stuName}" name="stuName" data-validate="required:请输入学生姓名" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>性别</label>
        </div>
        <div class="field">
          <select class="input w50" name="sex" data-validate="required:请选择性别">
            <option value="男">男</option>
            <option value="女">女</option>
          </select>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>通讯地址:</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="${student1.address}" name="address" data-validate="required:请输入通讯地址" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>学生电话:</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="${student1.stuTel}" name="stuTel" data-validate="required:请输入学生电话" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>联系人:</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="${student1.contact}" name="contact" data-validate="required:请输入联系人" />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>联系人电话:</label>
        </div>
        <div class="field">
          <input type="number" class="input w50" value="${student1.contactTel}" name="contactTel" data-validate="required:请输入联系人电话" />
          <div class="tips"></div>
        </div>
      </div>


      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>
</body>
</html>
